﻿using SJ.Platform.EFCore.Model.UserManager;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SJ.Platform.Extend.ModelExtend.SysUserExt
{
    /// <summary>
    /// 新增用户时使用
    /// </summary>
    public class SysUserAddExtend
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public string? Id { get; set; }
        /// <summary>
        /// 真实姓名
        /// </summary>
        public string? RealName { get; set; }

        /// <summary>
        /// 用户当前组织机构ID
        /// </summary>
        public string OrgId { get; set; } = null!;

        /// <summary>
        /// 用户当前组织机构名称
        /// </summary>
        public string? OrgName { get; set; }

        /// <summary>
        /// 性别1=男，2=女
        /// </summary>
        public sbyte? Sex { get; set; }
        /// <summary>
        /// 是否启用1=启用，0=不启用
        /// </summary>
        public sbyte IsUsed { get; set; }
        /// <summary>
        /// 出生日期
        /// </summary>
        public DateTime? Birthday { get; set; }
        /// <summary>
        /// 登录账号
        /// </summary>
        public string? LoginName { get; set; }

        /// <summary>
        /// 登录密码
        /// </summary>
        public string? Password { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime? AddTime { get; set; }

        /// <summary>
        /// 添加人
        /// </summary>
        public string? AddUserId { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? EditTime { get; set; }

        /// <summary>
        /// 修改人
        /// </summary>
        public string? EditUserId { get; set; }

        /// <summary>
        /// 是否查询所有
        /// </summary>
        public bool? SearchAll { get; set; }
    }
}
